home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 December / PCWorld_2007-12_cd.bin / domacnost a kancelar / autoit / autoit-v3-setup.exe / Examples / Helpfile / Dim.au3 < prev    next >
Text File  |  2007-09-08  |  412b  |  15 lines

  1. ; Example 1 - Declaring variables
  2. Dim $x, $y = 23, $z
  3. Global $_PI = 3.14159, $RADIUS
  4. Local $_daysWorking = 5
  5.  
  6. ; Example 2 - Declaring arrays
  7. Dim $weeklyWorkSchedule[$_daysWorking]
  8. Global $chessBoard[8][8]
  9. Local $mouseCoordinates[2], $windowStats[4]
  10.  
  11. ; Example 3 - Declaring constant variables
  12. Const $x1 = 11, $y1 = 23, $z1 = 55
  13. Global Const $PI = 3.14159, $E = 2.71828
  14. Local Const $daysWorking = 5
  15.